package com.xgpro.pc.studycentre.service;

import com.xgpro.common.results.ResponseResult;
import com.xgpro.domain.studycentre.entity.Plan;
import com.xgpro.domain.studycentre.vo.PlanFront;
import com.xgpro.domain.studycentre.vo.PlanPCFront;
import com.xgpro.domain.studycentre.vo.PlanPCResult;

import java.io.IOException;

/**
 * @author tx
 * @version 1.0
 * @date 2019/10/15 20:15
 */
public interface PlanPCService {

    /**
     * 培训列表
     * @param planPCFront
     * @return
     */
    public PlanPCResult qryPlanPCResult(PlanPCFront planPCFront);


    /**
     * 通过id删除培训计划
     * @param id
     * @return
     */
    public Integer deleteByPlanId(Integer id);

    /**
     * 上传培训计划
     * @param planFront
     * @return
     */
    public Integer insertPlan(PlanFront planFront) throws IOException;


    ResponseResult downloadPlan(Integer id) throws Exception;
}
